package com.zhoujing.springsecurity.service;

import com.zhoujing.springsecurity.pojo.SysRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author FanGccU
* @description 针对表【sys_role_menu】的数据库操作Service
* @createDate 2022-03-08 15:27:20
*/
public interface SysRoleMenuService extends IService<SysRoleMenu> {

    /**
     * 根据用户ID获取权限
     * @param usrId
     * @return
     */
    List<String> getPermsByUser(Long usrId);
}
